<?php
$cs=Yii::app()->clientScript;
$cs->registerCoreScript('jquery');
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<meta name="language" content="zh_cn" />
	<link rel="stylesheet" type="text/css" href="<?php echo $this->module->assetsUrl; ?>/css/style.css" />
	<title><?php echo CHtml::encode($this->pageTitle); ?></title>
</head>
<body>
<div id='header'>
	<div class='container'>
	<h1><?php echo $this->module->getAppName()?> v<?php echo $this->module->getVersion()?></h1>
	</div>
</div>
<div class="container" id="page">
	<div id="mainmenu">
		<?php $this->widget('zii.widgets.CMenu',array(
			'items'=>array(
				array('label'=>'Form2ActiveForm', 'url'=>array('/hzTool/formCodeTran')),
				array('label'=>'Popular Code', 'url'=>array('/hzTool/popularCode')),
				array('label'=>'Database Monitor', 'url'=>array('/hzTool/popularCode')),
				array('label'=>'About', 'url'=>array('/hzTool/default/about')),
			),
		)); ?>
	</div><!-- mainmenu -->
	<div id='breadcrumbs'>
		<?php if(isset($this->breadcrumbs)):?>
		<?php $this->widget('zii.widgets.CBreadcrumbs', array(
				'links'=>$this->breadcrumbs,
			)); ?><!-- breadcrumbs -->
		<?php endif?>
	</div>
	<?php if(($opResultFlash = Yii::app()->user->getFlash(FLASH::OP_RESULT_SUCCESS))!=null):?>
	<div id='op-result-flash-box'>
		<?php echo $opResultFlash?>
	</div>
	<?php endif?>
	<?php echo $content; ?>
</div>

<div id="footer">
	Copyright © <a href='javascript:void(0)'>hayzone Software Ltd</a> All rights reserved.
</div><!-- footer -->

</body>
</html>